package org.dromara.bykt.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.bykt.domain.BYKTSimulationInfo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 试卷信息视图对象 simulation_info
 *
 * @author Hou
 * @date 2025-06-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BYKTSimulationInfo.class)
public class BYKTSimulationInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 课程ID
     */
    @ExcelProperty(value = "课程ID")
    private Long courseId;

    /**
     * 试卷ID
     */
    @ExcelProperty(value = "试卷ID")
    private Long simulationId;

    /**
     * 试卷名称
     */
    @ExcelProperty(value = "试卷名称")
    private String simulationName;

    /**
     * 试卷简介
     */
    @ExcelProperty(value = "试卷简介")
    private String synopsis;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String image;

    /**
     * 图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "image")
    private String imageUrl;
    /**
     * 考试时间
     */
    @ExcelProperty(value = "考试时间")
    private Long examTime;

    @ExcelProperty(value = "排序")
    private Long sort;

    private Long categoryId;

    private String categoryName;

    private String courseName;

}
